#include "resultlogdialog.h"

ResultLogDialog::ResultLogDialog(QWidget *parent) :
    QDialog(parent)
{    
    hlayout.addWidget(&cmdText);
    cmdText.setReadOnly(true);
    setLayout(&hlayout);

    setWindowTitle(tr("Result Log"));
    setFixedSize(600,480);
}

ResultLogDialog::~ResultLogDialog()
{

}


void ResultLogDialog::writeLog(QString text)
{
    cmdText.appendPlainText(text);
}
